package cn.zjutleo.village_server.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;
@Data
public class PolicyDto {
    /**
     * 政策的id
     */
    //@JsonProperty(value = "policy_id")
    private Integer policyId;

    /**
     * 编辑者id
     */
    @JsonProperty(value = "uId")
    private Integer uId;

    /**
     * 发布时间
     */
    private Date policyDate;

    /**
     * 阅读次数
     */
    private Integer policyReadCount;

    /**
     * 文章内容
     */
    private String policyText;

    /**
     * 点赞次数
     */
    private Integer policyStarcount;

    /**
     * 简介
     */
    private String policyBriefintroduction;

    /**
     * 收藏次数
     */
    private Integer policyCollectCount;

    /**
     * 标题
     */
    private String policyTitle;

    private String policyAuther;

}
